package com.itcast.activiti.service;

import com.itcast.activiti.domain.AddSign;
import com.itcast.activiti.entity.ApproveAddSign;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类
 *
 * @author itcast
 * @since 2021-12-21
 */
public interface IApproveAddSignService extends IService<ApproveAddSign> {

    void add(AddSign addSign, String addSignId, String taskDefinitionKey, String processDefinitionId, String newProcessDefinitionId, String assignee);

    List<ApproveAddSign> findByProcDefId(String procDefId);

    List<ApproveAddSign> findByProcDefIdOlds(List<String> processDefIds);

    ApproveAddSign findById(String addSignId);

}
